import 'package:freezed_annotation/freezed_annotation.dart';

part 'cert_video.freezed.dart';
part 'cert_video.g.dart';

@freezed
class CertVideo with _$CertVideo {
  factory CertVideo({
    String? authKey,
    List<String>? coverImg,
    String? fileId,
    int? playTime,
    int? size,
    int? type,
    String? url,
  }) = _CertVideo;

  factory CertVideo.fromJson(Map<String, dynamic> json) =>
      _$CertVideoFromJson(json);
}
